home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CyberMycha 2001 August
/
CMycha200108.iso
/
Zaczarowane
/
start.swf
/
scripts
/
DefineButton2_750
/
BUTTONCONDACTION on(press).as
next >
Wrap
Text File
|
2001-06-06
|
620b
|
20 lines
on(press){
my = _root.number * 50;
if(_root.stan == "pakowanie")
{
_root.waga22 = 0.16;
if(!_root.mc_scroll.mc_rzeczy.mc_r22.zapakowany == true)
{
startDrag(_root.mc_scroll.mc_rzeczy.mc_r22,0);
x_pos = getProperty(_root.mc_scroll.mc_rzeczy.mc_r22, _X);
y_pos = getProperty(_root.mc_scroll.mc_rzeczy.mc_r22, _Y);
}
}
if(_root.stan == "las")
{
startDrag(_root.mc_scroll.mc_rzeczy.mc_r22,1);
x_pos = getProperty(_root.mc_scroll.mc_rzeczy.mc_r22, _X);
y_pos = getProperty(_root.mc_scroll.mc_rzeczy.mc_r22, _Y);
}
}